package com.hh.spare.vo;/*
 * @Auther:ZhengXueCheng
 * @Date:2023/7/31
 * @VERSON:1.8
 */

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AddSpareVo {
    @NotBlank(message = "备件名称不能为空")
    private String name;
    @NotBlank(message = "备件编码不能为空")
    private String code;
    private Boolean status;
    @NotNull(message = "备件小类不能为空")
    private Integer subClassId;
    @NotNull(message = "计划大类不能为空")
    private Integer planClassId;
    @NotNull(message = "法人信息不能为空")
    private int[] legalPersonIds;
//    private Integer legalPersonId;

}
